Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase to upstream and update go.mod #1

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

EmilGedda
Copy link

No description provided.

ejcx and others added 14 commits November 1, 2017 10:43
…#116)

There's no reason to allow for a server to reflect all origin headers.
This has caused numerous security problems in the past.
 - cyu/rack-cors#126
 - https://nodesecurity.io/advisories/148
 - captncraig/cors@cc1cf75

Some helpful blog posts on the topic:
 - https://ejj.io/misconfigured-cors/
 - http://blog.portswigger.net/2016/10/exploiting-cors-misconfigurations-for.html
* added ability to register custom log formatter

* changed function type declaration to work on older versions of Go

* changed to an args struct per PR, refactored logging tests to make it easier to see the scenarios

* fixed formatting and linting issues

* split logging into its own file

* removed writer from the LogFormatterParams struct

* split all logging tests into a separate file

* fixed formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.